/*
 * @Author: WuFeng <763467339@qq.com>
 * @Date: 2024-11-18 17:05:40
 * @LastEditTime: 2024-11-19 11:08:15
 * @LastEditors: WuFeng <763467339@qq.com>
 * @Description: 
 * @FilePath: \markdown-magic\src\api\pdf.js
 * @Copyright 版权声明
 */
import request from '@/utils/request'

// pdf 转 word
export function pdfToWord(params) {
  const data = params
  return request({
    url: '/pdfToWord',
    method: 'post',
    headers: {},
    responseType: 'blob',
    data
  })
}

// 图片转文本
export function imgToText(params) {
  const data = params
  return request({
    url: '/imgToText',
    method: 'post',
    data
  })
}